package com.zscat.mallplus.pms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.utils.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: rwz
 * @Date: 2020/09/30/11:01 上午
 * @Description:
 */
@Data
@ApiModel
@TableName("pms_comment_report")
public class PmsCommentReport extends BaseEntity implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(hidden = true)
    private Long id;

    /**
     * 评论ID
     */
    @TableField("comment_id")
    @ApiModelProperty(value = "评论ID")
    private Long commentId;

    /**
     * 被举报人ID
     */
    @TableField("member_id")
    @ApiModelProperty(value = "被举报人ID")
    private Long memberId;

    /**
     * 被举报人用户名
     */
    @TableField("member_name")
    @ApiModelProperty(hidden = true)
    private String memberName;

    /**
     * 被举报人电话
     */
    @TableField("member_phone")
    @ApiModelProperty(hidden = true)
    private String memberPhone;

    /**
     * 评论内容
     */
    @TableField("comment_content")
    @ApiModelProperty(hidden = true)
    private String commentContent;

    /**
     * 举报内容
     */
    @TableField("report_content")
    @ApiModelProperty(value = "举报内容")
    private String reportContent;

    /**
     * 举报人ID
     */
    @TableField("creator_id")
    @ApiModelProperty(hidden = true)
    private Long creatorId;

    /**
     * 举报人用户名
     */
    @TableField("creator")
    @ApiModelProperty(hidden = true)
    private String creator;

    /**
     * 举报人电话
     */
    @TableField("creator_phone")
    @ApiModelProperty(hidden = true)
    private String creatorPhone;

    /**
     * 举报时间
     */
    @TableField("create_time")
    @ApiModelProperty(hidden = true)
    private Date createTime;
}
